package com.music.dto.tag;

import com.fasterxml.jackson.annotation.JsonFormat;

import javax.swing.text.html.HTML;
import java.util.Date;
import java.util.List;

public class TagDTO {
    private Long tagId;
    private String tagName;
    private Integer tagType;
    private Long tagFather;
    private List<TagDTO> children;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date gmtCreate;

    public Long getTagId() {
        return tagId;
    }

    public void setTagId(Long tagId) {
        this.tagId = tagId;
    }

    public String getTagName() {
        return tagName;
    }

    public void setTagName(String tagName) {
        this.tagName = tagName;
    }

    public Integer getTagType() {
        return tagType;
    }

    public void setTagType(Integer tagType) {
        this.tagType = tagType;
    }

    public Long getTagFather() {
        return tagFather;
    }

    public void setTagFather(Long tagFather) {
        this.tagFather = tagFather;
    }

    public List<TagDTO> getChildren() {
        return children;
    }

    public void setChildren(List<TagDTO> children) {
        this.children = children;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }
}
